package com.ybf.api.service;

import com.ybf.api.entity.PageRequest;
import com.ybf.api.entity.PageResult;
import com.ybf.api.entity.FileDetails;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ybf
 * @since 2024-09-26
 */
public interface FileDetailsService {

    public PageResult<FileDetails> list(FileDetails filedetails, PageRequest pageRequest);
    public List<FileDetails> list(FileDetails filedetails);

    public FileDetails info(Integer id);

    public FileDetails info(String hash);

    public Boolean delete(Integer id);

    public Integer edit(FileDetails filedetails);

    public Integer add(FileDetails filedetails);
}
